﻿using System;

namespace EFMLEditor.Internal.Controls.Components
{
    using System.Windows.Forms;

    public class EditorFileDialog
    {
        public static OpenFileDialog NewOpen()
        {
            var r = new OpenFileDialog();
            r.CustomPlaces.Add(new FileDialogCustomPlace(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) + @"\EFML-Studio\Projects"));
            return r;
        }
        public static SaveFileDialog NewSave()
        {
            var r = new SaveFileDialog();
            r.CustomPlaces.Add(new FileDialogCustomPlace(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) + @"\EFML-Studio\Projects"));
            return r;
        }
    }
}
